serialize

open override fun serialize(encoder: Encoder, value: Either<T1, T2>)